<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/reset.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/global.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/web.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/k15.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/asserts/css/ucCommon.css}"/>
</head>
<body>
<header th:replace="~{commons/tag::headerBar}"></header>

<div class="container">
    <!--左侧导航栏-->
    <ul class="nav" style="width: 150px;float: left">
        <li style="padding-top: 10px;font-size: 30px;width: 150px;height: 50px">订单中心</li>
        <li  style="margin-bottom:20px ">
            <a style="font-size: 20px" th:href="@{/order/all}">我的订单</a>
        </li>
        <li style="margin-bottom:20px ">
            <a style="font-size: 20px" th:href="@{/auction/all}">我的竞拍</a>
        </li>
        <li >
            <a style="font-size: 20px" th:href="@{/user/all}">个人信息</a>
        </li>
    </ul>
    <div style="float:right;width: 938px ">
        <div style="width: 938px;height: 45px">
            <a style="padding-top:5px;line-height:45px;font-size: 25px" th:href="@{/auction/all}">全部竞拍</a>
            <a style="padding-top:5px;margin-left: 40px;font-size: 25px" th:href="@{/auction/bidding}">竞拍中</a>
            <a style="padding-top:5px;margin-left: 40px;font-size: 25px" th:href="@{/auction/win}">已中标</a>
        </div>

        <div class="table-users" style="margin-top: 10px;overflow: auto;height: 500px">
            <table cellspacing="0" style="border-collapse: collapse;text-align: center" class="tab">
                <tr style="height: 50px">
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">店铺</td>
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">竞拍状态</td>
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">保证金</td>
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">中标价</td>
                    <td style="font-size: 20px;padding-right: 50px;border-right: 1px solid #327a81">店铺名</td>
                    <td style="font-size: 20px">中标时间</td>
                </tr>
                <tr th:each="bid,orderStat:${biddingList}"  style="height: 80px">
                    <td style="font-size: 18px; border-right: 1px solid #327a81" >
                        <img th:src="'http://localhost:81/book/'+${bid.stallImg}">
                    </td>
                    <td style="font-size: 18px; border-right: 1px solid #327a81" th:if="${bid.status}==0" th:text="正在竞拍" ></td>
                    <td style="font-size: 18px; border-right: 1px solid #327a81" th:if="${bid.status}!=0" th:text="竞拍结束" ></td>
                    <td style="font-size: 18px; border-right: 1px solid #327a81" th:text="${bid.cash}"></td>
                    <td style="font-size: 18px; border-right: 1px solid #327a81" th:text="${bid.bidPrice}"></td>
                    <td style="font-size: 18px; border-right: 1px solid #327a81" th:text="${bid.stallName}"></td>
                    <td style="font-size: 18px" th:text="${#dates.format(bid.bidTime,'yyyy-MM-dd')}"></td>
                </tr>
            </table>
        </div>
    </div>

</div>
<footer th:replace="~{commons/tag::footBar}"></footer>
</body>
</html>